package com.maylann.ratiocheater.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * by Maylann
 */
public class Connection {

    private int port = 50000;
    private String clientVersion = "UT1610";
    private String userAgent = "uTorrent/1610";
    private String trackerURL;
    private List<AnnounceResponse> announceResponseList;

    public Connection(int port, String clientVersion, String userAgent, String trackerURL) {
        this.announceResponseList = new ArrayList<AnnounceResponse>();
        this.port = port;
        this.clientVersion = clientVersion;
        this.userAgent = userAgent;
        this.trackerURL = trackerURL;
    }

    public int getPort() {
        return port;
    }

    public String getClientVersion() {
        return clientVersion;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public String getTrackerURL() {
        return trackerURL;
    }

    public List<AnnounceResponse> getAnnounceResponseList() {
        return announceResponseList;
    }
}
